package com.ziyue.socket.bean;

import com.ziyue.socket.enums.OptionEnum;
import com.ziyue.socket.enums.SocketStatusEnum;

/**
 * Created by wancheng on 2019/4/18.
 */
public class SocketResponse {

    private Object data;

    /**
     * 返回状态
     */
    private SocketStatusEnum code;

    /**
     * 发送信息
     */
    private String msg;

    private OptionEnum option;

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public SocketStatusEnum getCode() {
        return code;
    }

    public void setCode(SocketStatusEnum code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public OptionEnum getOption() {
        return option;
    }

    public void setOption(OptionEnum option) {
        this.option = option;
    }
}
